/**
 * @summary 标签模块
 * @description
 *   8.18 新增标签数据
 */


 import * as createAPI from '@/api/hmmm/tags'

 export default {
   namespaced: true,
   state: {
     // 目录列表
     tagsList: [],
   },
   mutations: {
     SET_TAGS_LIST(state, newValue) {
       state.tagsList = newValue;
     },
   },
   actions: {
     async getTagsList({ commit }, params) {
       const res = await createAPI.list(params);

       commit('SET_TAGS_LIST', res);
     },
   },
 };
